<section id="download" class="py-20 bg-gradient-snow">
  <div class="container mx-auto px-4 sm:px-6 lg:px-8">
    <div class="text-center max-w-3xl mx-auto mb-16">
      <h2 class="text-[clamp(1.5rem,3vw,2.5rem)] font-bold text-dark mb-4">下载 Snow</h2>
      <p class="text-dark/70 text-lg">选择适合你操作系统的版本，开始使用 Snow</p>
    </div>
    
    <div class="grid grid-cols-1 md:grid-cols-3 gap-8 max-w-4xl mx-auto">
      <!-- Windows 版本 -->
      <div class="bg-white rounded-xl p-6 shadow-lg hover:shadow-xl transition-custom text-center">
        <div class="w-16 h-16 rounded-full bg-primary/10 flex items-center justify-center mx-auto mb-5">
          <i class="fa fa-windows text-primary text-2xl"></i>
        </div>
        <h3 class="text-xl font-semibold mb-2">Windows</h3>
        <p class="text-dark/60 mb-5">支持 Windows 10 及以上版本</p>
        <a href="#" class="inline-flex items-center justify-center px-5 py-2 bg-primary text-white rounded-md hover:bg-primary/90 transition-custom w-full">
          <i class="fa fa-download mr-2"></i> 下载安装包
        </a>
        <p class="text-dark/50 text-sm mt-3">版本: v1.2.0</p>
      </div>
      
      <!-- macOS 版本 -->
      <div class="bg-white rounded-xl p-6 shadow-lg hover:shadow-xl transition-custom text-center">
        <div class="w-16 h-16 rounded-full bg-primary/10 flex items-center justify-center mx-auto mb-5">
          <i class="fa fa-apple text-primary text-2xl"></i>
        </div>
        <h3 class="text-xl font-semibold mb-2">macOS</h3>
        <p class="text-dark/60 mb-5">支持 macOS 10.15 及以上版本</p>
        <a href="#" class="inline-flex items-center justify-center px-5 py-2 bg-primary text-white rounded-md hover:bg-primary/90 transition-custom w-full">
          <i class="fa fa-download mr-2"></i> 下载安装包
        </a>
        <p class="text-dark/50 text-sm mt-3">版本: v1.2.0</p>
      </div>
      
      <!-- Linux 版本 -->
      <div class="bg-white rounded-xl p-6 shadow-lg hover:shadow-xl transition-custom text-center">
        <div class="w-16 h-16 rounded-full bg-primary/10 flex items-center justify-center mx-auto mb-5">
          <i class="fa fa-linux text-primary text-2xl"></i>
        </div>
        <h3 class="text-xl font-semibold mb-2">Linux</h3>
        <p class="text-dark/60 mb-5">支持主流 Linux 发行版</p>
        <a href="#" class="inline-flex items-center justify-center px-5 py-2 bg-primary text-white rounded-md hover:bg-primary/90 transition-custom w-full">
          <i class="fa fa-download mr-2"></i> 下载安装包
        </a>
        <p class="text-dark/50 text-sm mt-3">版本: v1.2.0</p>
      </div>
    </div>
    
    <!-- 其他安装方式 -->
    <div class="mt-12 max-w-3xl mx-auto bg-white rounded-xl p-6 shadow-md">
      <h3 class="text-xl font-semibold mb-4">其他安装方式</h3>
      <div class="space-y-4">
        <div>
          <h4 class="font-medium mb-2">使用包管理器</h4>
          <div class="bg-dark rounded-lg p-3 text-white font-mono text-sm overflow-x-auto">
            <pre># 使用 npm
npm install -g snow

# 使用 yarn
yarn global add snow

# 使用 Homebrew (macOS)
brew install snow

# 使用 apt (Debian/Ubuntu)
sudo apt install snow</pre>
          </div>
        </div>
        
        <div>
          <h4 class="font-medium mb-2">从源码构建</h4>
          <div class="bg-dark rounded-lg p-3 text-white font-mono text-sm overflow-x-auto">
            <pre># 克隆仓库
git clone https://gitee.com/jcnc-org/snow.git

# 进入目录
cd snow

# 构建
make build

# 安装
sudo make install</pre>
          </div>
        </div>
      </div>
    </div>
  </div>
</section>
